# $Id: PKGBUILD 65681 2012-02-21 21:16:27Z cbrannon $
# Maintainer: Chris Brannon <chris@the-brannons.com>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
# Previous Maintainer: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
# Contributor: Slash <demodevil5[at]yahoo[dot]com>

pkgname=cdck
pkgver=0.7.0
pkgrel=4
pkgdesc="A simple program to verify CD/DVD quality"
arch=('i686' 'x86_64')
url="http://swaj.net/unix/"
license=('GPL')
depends=(gcc-libs)
makedepends=('perl')
options=('!libtool')
source=(http://swaj.net/unix/cdck/${pkgname}-${pkgver}.tar.gz)
md5sums=('15029d54b99f2e5cf8aae28077669d3f')

build() {
    cd "$srcdir/${pkgname}-${pkgver}"

    ./configure --prefix=/usr --mandir=/usr/share/man
    PATH="/usr/bin/core_perl:$PATH" make
}

package() {
    cd "$srcdir/${pkgname}-${pkgver}"
    make DESTDIR="$pkgdir" install
}
